class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?"{
            constraints {
                // apply constraints here
            }
        }
        "/"(controller:"match", action="list")
        "500"(view:'/error')
        "/bet/$id" {
            controller = "bet"
            action = "list"
        }
    }
}
